<template>
  <div class="user">
    用户信息页面，用户名: {{ username }}
  </div>
</template>

<script>
export default {
  name: 'User',
  data() {
    return {
      username: ''
    }
  },
  created() {
    console.log('user created:', this.$route)
    this.username = this.$route.params.username
  },
}
</script>

<style scoped>

</style>
